package com.itheima.service;

import com.itheima.common.CompanyResult;
import com.itheima.common.Result;
import com.itheima.pojo.hm.HmSubjectsTags;

public interface TagsService {
    CompanyResult add(HmSubjectsTags tags);

    Result findPage(Integer page, Integer pagesize, String tagName, Integer state,Integer subjectID);

    CompanyResult updateById(HmSubjectsTags tags);

    CompanyResult deleteById(Integer id);

    CompanyResult updateByState(Integer id, Integer state);

    HmSubjectsTags findOne(Integer id);
}
